BIN = process
SRC = $(wildcard *.c)
OBJ = $(SRC:.c=.o)

$(BIN):$(OBJ)
	gcc -o $@ $^
%.o:%.c
	gcc -c $< -g
.PHONY:clean
clean:
	rm -f $(OBJ) $(BIN)
